package com.glance.browser.dao;

import java.util.List;

import com.glance.browser.domain.KnowledgeItem;

public interface KnowledgeItemDAO {

	void deleteAllAfter(long id);

	List<KnowledgeItem> findByTitle(String title);

	List<KnowledgeItem> findByAuthor(String firstName, String lastName);

	KnowledgeItem findById(Long id);

	void save(KnowledgeItem ki);

	void delete(KnowledgeItem ki);

}
